<?php

class Comment_Form_Add extends Nuo_Form
{

	public function init()
	{

		$this -> setTitle('Add Comment');

		/**
		 * password button
		 */

		$this -> addChild('textarea', 'body', array('label' => 'Message'));

		/**
		 * submit button
		 */
		$this -> addChild('group', '_footer');

		$this -> _footer -> addChild('submit', '_submit')->addChild('cancel','_cancel');

	}

}
